﻿<!DOCTYPE html>
<html>
<head>
    <title>商品列表</title>
</head>
<body>
    <div>
        <section data-role="page" id="goodslist_main">
            <header data-role="header">
                <h1>商品列表</h1>
                <a href="#goodscard" data-load="goodscard.aspx" class="ui-btn-right">购物车</a>
            </header>
            
            <div data-role="content" id="goodslist_content">
                <div style="height:5px;"></div>
                <ul data-role="listview" data-filter="true">
                    <li style="text-align:center;display:none;" runat="server" id="msg">暂无商品信息</li>
                    <asp:Repeater runat="server" ID="rptGoodList">
                        <ItemTemplate>
                            <li>
                                <a href="#gooddetail" data-load="gooddetail.aspx?MicroGoodsID=<%#Eval("MicroGoodsID") %>">
                                    <img src="<%#Eval("MicroGoodsPicture") %>" />
                                    <h3><%#Eval("MicroGoodsName")%></h3>
                                    <p id="priceInfo"><%#Convert.ToDecimal(Eval("MicroPrice")).ToString("0.00")%>元<span id="price"><%#Convert.ToInt32(Eval("MicroSalePrice")).ToString("0.00")%>元</span></p>
                                </a>
                            </li>
                        </ItemTemplate>
                    </asp:Repeater>
                </ul>
            </div>

            <footer data-role="footer" data-position="fixed" id="goodslist_footer">
                <div data-role="navbar" id="nav-glyphish-example">
                    <ul>
                        <li><a href="#index" data-icon="custom" id="site">商家网站</a></li>
                        <li><a href="#" data-icon="custom" id="buy" class="ui-btn-active">商品购买</a></li>
                        <li><a href="#membershipcard" data-load="membershipcard.aspx" data-icon="custom"  id="card">会员卡</a></li>
                        <li><a href="#giftlist" data-load="giftlist.aspx" data-icon="custom" id="convert">积分兑换</a></li>
                    </ul>
                </div>
            </footer>
        </section>
    </div>
</body>
</html>
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="goodlist.aspx.cs" Inherits="goodlist" EnableViewState="false" %>
